package com.ubxtech.core.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author Victor.Xiao
 * @since 2023-11-23 20:35
 **/
@Data
@Schema(title = "MsgDTO", description = "消息对象")
public class MsgDTO<T> {
    @Schema(title="消息id")
    private String id;
    @Schema(title="时间戳")
    private Long timestamp;
    @Schema(title="消息内容")
    private T content;
}
